package com.daka.dao;


import com.daka.entity.Group;
import com.daka.mybatis.SQLMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository(value = "groupMapper")
@SQLMapper
public interface GroupMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Group record);

    List<Group> queryListByVolunteer(long volunteerId);

    int insertSelective(Group record);

    Group selectByPrimaryKey(Long id);

    List<Group> selectByStatement(Group record);

    int selectByStatementCount(Group record);

    int updateByPrimaryKeySelective(Group record);

    int updateByPrimaryKeyWithBLOBs(Group record);
}